package com.yc.cloud.admin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 流媒体服务配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "custom.stream")
public class StreamProperties {

	/** 协议，默认 http */
	private String scheme = "http";

	/** 服务IP或域名 */
	private String host;

	/** 端口，默认 6080 */
	private Integer port = 6080;
}


